Hi, I am using twilio auth (passwordless) and Next...
# help
j
Hi, I am using twilio auth (passwordless) and Next.js. After supabase.auth.verifyOTP I can see the login content on the page and see session object returned correctly. However, when I refresh the page, the page goes back to the un-authenticated content and the supabase.auth.session() returns null. Do I need to call any other method to make the session persist across page (i.e. the definition of session). My code is 1) on the index page {!session ? : } 2)In the Auth component I called await supabase.auth.verifyOTP({ phone: number, token: code, })
n
Hello ! This thread has been automatically created from your message in a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
j
@User
s
Store in cookies?
n
joshwo (2022-03-19)
o
Hi please do not ping twice the support role. We already got the notification from the previous message. Thanks you. @sylar815